package com.chebaohui.iqs.entity.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CompanyCars", description = "车型查询接口返回车辆信息列表")
public class CompanyCars<T> {
	
	@ApiModelProperty(value = "保险公司编码")
	private String companyCode;//选择保险公司报价的编码
	
	@ApiModelProperty(value = "状态编码")
	private String code;

	@ApiModelProperty(value = "接口状态信息描述")
	private String msg;
	
	@ApiModelProperty(value = "车型详细列表")
	private T cars;//车型列表
	
	public CompanyCars(String companyCode, String code, String msg) {
		this.companyCode = companyCode;
		this.code = code;
		this.msg = msg;
	}
	
	public CompanyCars(){
		
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public T getCars() {
		return cars;
	}

	public void setCars(T cars) {
		this.cars = cars;
	}
	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		return "CompanyCars [companyCode=" + companyCode + ", code=" + code + ", msg=" + msg + ", cars=" + cars + "]";
	}
	
}
